package com.huadi.cmcc.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 套餐
 * @TableName mobilepackage
 */
@TableName(value ="mobilepackage")
@Data
public class Mobilepackage implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private BigDecimal price;

    /**
     * 流量数量或宽带大小, 若为话费,则该属性为空
     */
    private String count;

    /**
     * 套餐类型(话费, 流量, 套餐)
     */
    private String packagetype;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}